﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace analy
{
   public  class RetData
    {

            private int  _device_cmd;
            /// <summary>
            /// 功能码
            /// </summary>
            public int  device_cmd
            {
                get { return _device_cmd; }
                set { _device_cmd = value; }
            }

            private byte  _device_type;
            /// <summary>
            /// 设备类型
            /// </summary>
            public byte  device_type
            {
                get { return _device_type; }
                set { _device_type = value; }
            }


            private string _device_code;
            /// <summary>
            /// 设备编号
            /// </summary>
            public string device_code
            {
                get { return _device_code; }
                set { _device_code = value; }
            }

            private string _retdata;
            /// <summary>
            /// 返回数据，返回结果只有1个
            /// </summary>
            public string retdata
            {
                get { return _retdata; }
                set { _retdata = value; }
            }

            private string[] _list;
            /// <summary>
            /// 返回结果有多个放在这里
            /// </summary>
            public string[] list
            {
                get { return _list; }
                set { _list = value; }
            }

        private int _success;
        /// <summary>
        /// 操作是否成功
        /// </summary>
        public int success
        {
            get { return _success; }
            set { _success = value; }
        }


        private string _explain;
        /// <summary>
        /// 对结果的说明
        /// </summary>
        public string explain
        {
            get { return _explain; }
            set { _explain = value; }
        }



    }
}
